home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
PSION
/
!Psion
/
Data
/
ARC
next >
Wrap
Text File
|
1990-08-25
|
689b
|
67 lines
ARC:
GLOBAL A$(10),B$(3,1),B%,C%,D%,P%,P1%,N%
ONERR FT::
B$(1)="A":B$(2)="B":B$(3)="C"
IN::
PRINT"LOOK FOR",
TRAP INPUT A$
B%=1
LP::
N%=0
WHILE A$<>"XXX"
TRAP OPEN B$(B%)+":MAIN",A,V$
FIRST
TRAP USE A
P1%=0
WHILE FIND(A$)
P%=POS
N%=1
D%=DISP(-1,A$)
IF D%=1
RETURN
ELSEIF D%=32
IF A$<>""
FIRST
C%=0
DO
P%=POS
NEXT
C%=C%+1
UNTIL FIND(A=P1%
IF C%>1
P1%=P%
ELSE FIRST
ENDIF
ELSE BACK
ENDIF
ELSEIF D%=%Z OR D%=%Z
ARC:
ELSE
NEXT
P1%=P%
ENDIF
ENDWH
CLOSE
B%=B%+1
IF B%=4
IF N%=0
PRINT"NOT FOUND..."
PRINT A$
PAUSE 10
GOTO IN::
ELSE
B%=1
ENDIF
ENDIF
ENDWH
FT::
IF ERR<>206
B%=B%+1
IF B%=4
B%=1
ENDIF
GOTO LP::
ELSE
RETURN
ENDIF